package com.ibm.ops.domain.metadata;

public class OpsAuditLogInfosourceReportMetaData extends OpsAuditLogReportMetaData {
	private String mo_num = "";
	private String module = "";
	private String timestamp = "";
	private String exception_code = "";
	private String exception_content = "";
	public String getMo_num() {
		return mo_num;
	}
	public void setMo_num(String mo_num) {
		this.mo_num = mo_num;
	}
	public String getModule() {
		return module;
	}
	public void setModule(String module) {
		this.module = module;
	}
	public String getTimestamp() {
		return timestamp;
	}
	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}
	
	public String getException_code() {
		return exception_code;
	}
	public void setException_code(String exception_code) {
		this.exception_code = exception_code;
	}
	public String getException_content() {
		return exception_content;
	}
	public void setException_content(String exception_content) {
		this.exception_content = exception_content;
	}
	
	@Override
	public String toString() {
		return "OpsAuditLogInfosourceReportMetaData [mo_num=" + mo_num
				+ ", module=" + module + ", timestamp=" + timestamp
				+ ", exception_code=" + exception_code + ", exception_content="
				+ exception_content + "]";
	}
	@Override
	public String[] toArray() {
		String[] result = new String[5];
		result[0] = this.mo_num;
		result[1] = this.module;
//		result[2] = this.timestamp;
		result[2] = this.exception_code;
		result[3] = this.exception_content;
		result[4] = this.count;;
		return result;
	}
	
	@Override
	public String[] allFieldName() {
		String[] result = new String[5];
		result[0] = "MASTER_NO";
		result[1] = "MODULE";
//		result[2] = "TIMESTAMP";
		result[2] = "EXCEPTIONCODE";
		result[3] = "EXCEPTIONCONTENT";
		result[4] = "COUNT";
		return result;
	}
}
